package jv_example_5;

public class jv_example_5 {

	public static void main(String[] args) {
		
		int i,j=0;
		int sum=1;
			for(i=1;i<11;i++){
				for(j=1;j<i+1;j++){
				sum *= j;	
				}
				System.out.print(i + "!  =  " + sum);
				System.out.println();
				sum = 1;
			}
	}

}
